package org.example.cdpcrpbackend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.cdpcrpbackend.controller.dto.DepStu1;
import org.example.cdpcrpbackend.controller.dto.Department1;
import org.example.cdpcrpbackend.controller.dto.StudentDepartment;
import org.example.cdpcrpbackend.domain.Department;

import java.util.List;


// 1个学生在 n 个部门，每个部门有n个活动
public interface DepartmentService extends IService<Department> {
    StudentDepartment login(String username, String password);

    List<Department1> listByPage(String key, Integer page, Integer size);

    Department1 getDepartmentInfoById(String id);

    List<DepStu1> depStuListByPage(String key, String depId, Integer size, Integer page);
}
